package vo;

import java.sql.Date;

import org.springframework.web.multipart.MultipartFile;

public class CommunityVo{
	int menu_no, menu_step, cate_no,cate_step ,title_no,title_step;
	String menu_name, cate_name, title_name;
	
	int b_no, b_readhit, b_ref, b_step, b_depth, b_reply_count,b_notice;
	String b_subject, b_content, b_writer, b_ip, b_filename;
	Date b_writedate;
	String key,value;
	int start,end;
	
	MultipartFile file;
	
	
	
	public CommunityVo() {
		super();
		// TODO Auto-generated constructor stub
	}
	public int getB_notice() {
		return b_notice;
	}
	public void setB_notice(int b_notice) {
		this.b_notice = b_notice;
	}
	public int getB_depth() {
		return b_depth;
	}
	public void setB_depth(int b_depth) {
		this.b_depth = b_depth;
	}
	public int getB_reply_count() {
		return b_reply_count;
	}
	public void setB_reply_count(int b_reply_count) {
		this.b_reply_count = b_reply_count;
	}
	public MultipartFile getFile() {
		return file;
	}
	public void setFile(MultipartFile file) {
		this.file = file;
	}
	public int getMenu_no() {
		return menu_no;
	}
	public void setMenu_no(int menu_no) {
		this.menu_no = menu_no;
	}
	public int getMenu_step() {
		return menu_step;
	}
	public void setMenu_step(int menu_step) {
		this.menu_step = menu_step;
	}
	public int getCate_no() {
		return cate_no;
	}
	public void setCate_no(int cate_no) {
		this.cate_no = cate_no;
	}
	public int getCate_step() {
		return cate_step;
	}
	public void setCate_step(int cate_step) {
		this.cate_step = cate_step;
	}
	public int getTitle_no() {
		return title_no;
	}
	public void setTitle_no(int title_no) {
		this.title_no = title_no;
	}
	public int getTitle_step() {
		return title_step;
	}
	public void setTitle_step(int title_step) {
		this.title_step = title_step;
	}
	public String getMenu_name() {
		return menu_name;
	}
	public void setMenu_name(String menu_name) {
		this.menu_name = menu_name;
	}
	public String getCate_name() {
		return cate_name;
	}
	public void setCate_name(String cate_name) {
		this.cate_name = cate_name;
	}
	public String getTitle_name() {
		return title_name;
	}
	public void setTitle_name(String title_name) {
		this.title_name = title_name;
	}
	public int getB_no() {
		return b_no;
	}
	public void setB_no(int b_no) {
		this.b_no = b_no;
	}
	public int getB_readhit() {
		return b_readhit;
	}
	public void setB_readhit(int b_readhit) {
		this.b_readhit = b_readhit;
	}
	public int getB_ref() {
		return b_ref;
	}
	public void setB_ref(int b_ref) {
		this.b_ref = b_ref;
	}
	public int getB_step() {
		return b_step;
	}
	public void setB_step(int b_step) {
		this.b_step = b_step;
	}
	public String getB_subject() {
		return b_subject;
	}
	public void setB_subject(String b_subject) {
		this.b_subject = b_subject;
	}
	public String getB_content() {
		return b_content;
	}
	public void setB_content(String b_content) {
		this.b_content = b_content;
	}
	public String getB_writer() {
		return b_writer;
	}
	public void setB_writer(String b_writer) {
		this.b_writer = b_writer;
	}
	public String getB_ip() {
		return b_ip;
	}
	public void setB_ip(String b_ip) {
		this.b_ip = b_ip;
	}
	public String getB_filename() {
		return b_filename;
	}
	public void setB_filename(String b_filename) {
		this.b_filename = b_filename;
	}
	public Date getB_writedate() {
		return b_writedate;
	}
	public void setB_writedate(Date b_writedate) {
		this.b_writedate = b_writedate;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		String str=String.format("{\"b_no\":\"%d\",\"b_writer\":\"%s\",\"b_writedate\":\"%s\",\"b_content\":\"%s\"}",
								  b_no,b_writer,"20120809",b_content);
		return str;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getEnd() {
		return end;
	}
	public void setEnd(int end) {
		this.end = end;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}

	
}
